Prizm Content Connect
How to Configure PHP Web Tier with SELinux

When running PHP Web Tier on Security-Enhanced Linux you may experience issues with loading documents in the viewer, and may see the following errors in Apache's log files:

PHP Warning: file_get_contents(<URL>): failed to open stream: Permission denied

The reason for this is that the Web Tier needs to contact the PCC Service. By default SELinux disallows Apache processes from connecting out.

You can run the following command to allow web tier to function:


Copy Code
setsebool -P httpd_can_network_connect 1

 

 

 


©2014. Accusoft Corporation. All Rights Reserved.

Send Feedback